package typejump.commands;

import typejump.engine.GameEngine;

public class DevCOP implements TextCommand {

	@Override
	public boolean matches(String command) {
		return command.equals("dev cop");
	}

	@Override
	public void act(String command) {
		GameEngine.setTranslateX(-GameEngine.getPlayer().centerX());
		GameEngine.setTranslateY(-GameEngine.getPlayer().centerY());
		GameEngine.addTextEffect("CENTER ON PLAYER", "dev");
	}

}
